var doc =document.documentElement
var docWidth = doc.clientWidth;
var elBody = document.querySelector('#body')
var elH2 = document.querySelector('.h2')

var bodyWid = document.body.clientWidth


var windWid = window.innerWidth;
var pml = window.screen.availLeft
var pmt = window.screen.availTop
var pmh = window.screen.availWidth
var pmw = window.screen.availHeight

var devw = window.screen.deviceXDPI
var devh = window.screen.deviceYDPI

var windW =  window.innerWidth  // 视图区大小 所有流浏览器
var windH =  window.innerHeight


    if (docWidth>=750) {
      elBody.style.width = '1190px'
    }
console.log(docWidth)






elH2.innerText = pmh + "    " + pmw + '    '  + '  ' + pml + '   ' + pmt + '  '+ devw + '  ' + devh + '  '+ windW + '  ' + windH 